package com.eastfair.matching.service;

import com.eastfair.auth.dto.RoleDTO;
import com.eastfair.auth.vo.RoleVo;

import java.util.List;

/**
 * 远程角色服务.
 *
 * @author dqq
 * @date 2022 /7/25
 */
public interface AuthMatchRoleService {

    /**
     * 查询角色.
     *
     * @param roleDTO the role dto
     * @return the r
     */
    List<RoleVo> queryRole(RoleDTO roleDTO);

    /**
     * 业务标识获取角色.
     *
     * @param businessTag the business tag
     * @return the role by business tag
     */
    RoleVo getRoleByBusinessTag(String businessTag);
}